package com.own.business.wallet.entity.query;

import com.own.component.common.base.entity.BaseQuery;
import com.own.constant.ConstantBeanSuffix;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * WalletQuery
 *
 * @author chenxueli
 * @date 2023-07-13 16:07:39
 */
@Schema(title = "钱包" + ConstantBeanSuffix.QUERY)
@Getter
@Setter
@ToString
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class WalletQuery extends BaseQuery implements Serializable {

    @Schema(title = "用户id")
    private Long userId;

    @Schema(title = "余额（分）")
    private Integer balance;

    @Schema(title = "冻结金额（分）")
    private Integer freezeAmount;

    @Schema(title = "支付密码")
    private String password;

    @Schema(title = "是否设置免密支付（0=未设置 1=已设置）")
    private Integer isWithoutPassword;

}
